package com.yunhe.java.day08.JieKou;

/**
 * Created by Administrator on 2017/7/31 0031.
 */
public class Main {
    public static void main(String[] args) {
      Master m=new Master();
      Pet p=new Pet();
      Main.print(m,p);
    }
    public static void  print(Master m, Pet  p){
        System.out.println( m.detail());
        System.out.println( p.detail());
    }
}
